#include "stdafx.h"
#include "DwarfMiner.h"
#include "DwarfTypes.h"


CDwarfMiner::CDwarfMiner(std::string const & direction, std::string const & state)
	: CDwarf(DWARF_MINER, direction, state)
{
}

void CDwarfMiner::Say() const
{
	CDwarf::Say();
	std::cout << " I'm miner." << std::endl;
}

void CDwarfMiner::Work()
{
	if (GetState() == STANDS)
		SetState(MOVES);

	std::cout << "I'm miner. I'm extractive resources." << std::endl;
}